package mortal.game.model.scene
{
	import Message.Public.*;
	
	public class SceneBuildInfo extends Object implements ISceneModel
	{
		public var level:int;
		private var _modelInfo:SNpc;
		
		public function SceneBuildInfo()
		{
			
		}
		
		public function set modelInfo(param1:SNpc) : void
		{
			this._modelInfo = param1;
			
		}
		
		public function get modelInfo() : SNpc
		{
			return this._modelInfo;
		}
		
		public function get url() : String
		{
			var _loc_1:int = 0;
			if (this.level > 0)
			{
				_loc_1 = this.level > 3 ? (3) : (this.level);
				return (this.modelInfo.npcId - 1) + _loc_1 + ".swf";
			}
			return null;
		}
		
		public function get id() : int
		{
			return this.modelInfo.npcId;
		}
		
	}
}
